Trying to implement base logic.