finished bean generation according to interface
continue implementation