input checks added fp