done with fps but dunno if its correct..