Started adding gameplay functions