Implemented basic functionality of 5