Imported old logic

Changes need to be made to accomodate for 3d