USE FRAMEWORKS!! Don't bother yourself with hardcoding!