Fixed the programming part