Implemented and tested createInterface