Improves type of code