proper code