funkcja skory ktora zaczyna sie na ter