changed 0.0 to 0 and "null" to 0 to avoid "cast" errors
added more error cases to the faq section