these are my final codes