added code and second post