Implemented component logic