removed static, fixed transfer