changend type and added typeogrophy