Last core part of implementation