forgot to put type to response of database