created parse method for entrances