started naming functions