constructor add: able to set fps using constructor