updated tile generation stuff