4 th year project Core code