added basic functionality :D