testing only hanlding correct functions