adding appropriate casts