Converted things into methods