Add push_front code